/*================================================================
*   Copyright (C) 2017 LiuYao. All rights reserved.
*   
*   Filename : sum_op.h
*   Author : LiuYao
*   Date : 2017-12-08
*   Description : 
*
================================================================*/
#ifndef _SUM_OP_H
#define _SUM_OP_H

#include <vector>
#include "../node.h"
#include "op.h"
#include "../../session/context.h"

using std::vector;

class Sum: public OpNode{
    public:
        Sum(Node* );
        vector<Node*> getGradNodes(Node* ) ;
        void compute(Context* ) ;
};
#endif
